﻿namespace OasisCiq.Xpil
{
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using External;

    /// <summary>
    /// A container for memberships of party with other organisations (e.g. industry groups).
    /// Note at least one membership required
    /// </summary>
    public class Memberships : List<Membership>, IExtendedAttributes
    {
        public Memberships()
        {
        }

        public Memberships(int capacity)
            : base(capacity)
        {
        }

        public Memberships(IEnumerable<Membership> collection)
            : base(collection)
        {
        }

        public virtual NameValueCollection ExtendedAttributes { get; set; }
    }
}
